Is a symbol that is a group of non - terminal and terminal symbols :是一组非终端符号和终端符号组成的符号。
In this example , result is the non - terminal symbol the rule describes 在这个例子中, result是规则描述的非终端符号。
In the example , file is a non - terminal while name is a terminal symbol 在例子中, file是一个非终端标记而name是一个终端标记。
Non - terminal symbol 非终端符号
Components are various terminal and non - terminal symbols put together by the rule Components是根据规则放在一起的不同的终端和非终端符号。
Each yacc declaration part declares the names of both the terminal and non - terminal symbols tokens , and may also describe operator precedence and data types for various symbols 每个yacc声明段声明了终端符号和非终端符号(标记)的名称,还可能描述操作符优先级和针对不同符号的数据类型。